inherited FPesquisaResumoFinanceiro: TFPesquisaResumoFinanceiro
  Left = 440
  Top = 183
  Caption = 'Pesquisa Resumo Financeiro'
  ClientHeight = 418
  ClientWidth = 422
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    Width = 420
    Align = alNone
    inherited BtnLimpar: TBitBtn
      OnClick = BtnLimparClick
    end
    inherited BtnImprimir: TBitBtn
      OnClick = BtnImprimirClick
    end
    inherited BtnSelecionar: TBitBtn
      Tag = 5
      Enabled = False
    end
  end
  inherited Panel1: TPanel
    Width = 420
    Height = 376
    Align = alNone
    object Label1: TLabel [0]
      Left = 3
      Top = 8
      Width = 60
      Height = 13
      Caption = 'Grupo Conta'
    end
    object Label2: TLabel [1]
      Left = 73
      Top = 8
      Width = 94
      Height = 13
      Caption = 'Grupo C. Financeiro'
    end
    object Label3: TLabel [2]
      Left = 3
      Top = 122
      Width = 114
      Height = 13
      Caption = 'Classifica'#231#227'o Financeira'
    end
    object Label9: TLabel [3]
      Left = 3
      Top = 86
      Width = 51
      Height = 13
      Caption = '1'#176' Per'#237'odo'
    end
    object Label6: TLabel [4]
      Left = 91
      Top = 104
      Width = 6
      Height = 13
      Caption = 'a'
    end
    object Label5: TLabel [5]
      Left = 199
      Top = 86
      Width = 51
      Height = 13
      Caption = '2'#176' Per'#237'odo'
    end
    object Label7: TLabel [6]
      Left = 288
      Top = 104
      Width = 6
      Height = 13
      Caption = 'a'
    end
    object Label10: TLabel [7]
      Left = 3
      Top = 214
      Width = 46
      Height = 13
      Caption = 'Empresas'
    end
    object SpeedButton1: TSpeedButton [8]
      Tag = 1
      Left = 395
      Top = 135
      Width = 21
      Height = 20
      Caption = '-->'
      OnClick = SpeedButton1Click
    end
    object Label16: TLabel [9]
      Left = 3
      Top = 157
      Width = 76
      Height = 13
      Caption = 'Centro de Custo'
    end
    object SpeedButton3: TSpeedButton [10]
      Tag = 1
      Left = 395
      Top = 171
      Width = 21
      Height = 20
      Caption = '-->'
      OnClick = SpeedButton3Click
    end
    object Label21: TLabel [11]
      Left = 3
      Top = 47
      Width = 72
      Height = 13
      Caption = 'Autorizado Por:'
    end
    inherited DBGrid1: TDBGrid
      Top = 269
      Width = 418
      Height = 86
      TabOrder = 12
      Columns = <
        item
          Expanded = False
          FieldName = 'ESTRUTURA'
          Title.Caption = 'Estrutura'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'DESCRICAO'
          Title.Caption = 'Classifica'#231#227'o Financeira'
          Width = 125
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'VALOR1PERIODO'
          Title.Caption = 'Valor 1 Per'#237'odo'
          Width = 85
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'VALOR2PERIODO'
          Title.Caption = 'Valor 2 Per'#237'odo'
          Width = 81
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'MEDIA2PERIODO'
          Title.Caption = 'M'#233'dia 2 Per'#237'odo'
          Width = 85
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'VARIACAO'
          Title.Caption = 'Varia'#231#227'o'
          Width = 68
          Visible = True
        end>
    end
    inherited Panel3: TPanel
      Top = 355
      Width = 418
      TabOrder = 13
    end
    object EGrupoConta: TEdit
      Left = 3
      Top = 23
      Width = 46
      Height = 21
      TabOrder = 0
    end
    object EGrupoFinanceiro: TEdit
      Left = 73
      Top = 23
      Width = 46
      Height = 21
      TabOrder = 1
    end
    object DEDataIni1: TDateEdit
      Left = 3
      Top = 100
      Width = 87
      Height = 21
      NumGlyphs = 2
      TabOrder = 4
    end
    object DEDataFim1: TDateEdit
      Left = 100
      Top = 100
      Width = 87
      Height = 21
      NumGlyphs = 2
      TabOrder = 5
    end
    object DEDataIni2: TDateEdit
      Left = 199
      Top = 100
      Width = 87
      Height = 21
      NumGlyphs = 2
      TabOrder = 6
    end
    object DEDataFim2: TDateEdit
      Left = 298
      Top = 100
      Width = 87
      Height = 21
      NumGlyphs = 2
      TabOrder = 7
    end
    object RGIndicacao: TRadioGroup
      Left = 171
      Top = 3
      Width = 246
      Height = 62
      Caption = 'Indica'#231#227'o p/ analise'
      Columns = 2
      ItemIndex = 0
      Items.Strings = (
        'Comparativo'
        'M'#233'dia 2'#176' Per'#237'odo'
        'S'#243' 1'#176' Per'#237'odo')
      TabOrder = 2
      OnClick = RGIndicacaoClick
    end
    object CkBTodasEmpresas: TCheckBox
      Left = 3
      Top = 194
      Width = 118
      Height = 17
      Caption = 'Todas as Empresas'
      TabOrder = 10
      OnClick = CkBTodasEmpresasClick
    end
    object CLBEmpresas: TCheckListBox
      Left = 1
      Top = 229
      Width = 418
      Height = 40
      Align = alBottom
      Columns = 1
      ItemHeight = 13
      TabOrder = 11
    end
    object DBLCBPlano: TDBLookupComboBox
      Left = 3
      Top = 136
      Width = 382
      Height = 21
      DataField = 'LANC_PLANO'
      KeyField = 'CODIGO'
      ListField = 'DESCRICAO'
      ListSource = DSPlano
      TabOrder = 8
      OnKeyDown = DBLCBPlanoKeyDown
    end
    object DBLCBCentroCusto: TDBLookupComboBox
      Left = 3
      Top = 170
      Width = 382
      Height = 21
      KeyField = 'CODIGO'
      ListField = 'DESCRICAO'
      ListSource = DSCentro
      TabOrder = 9
      OnKeyDown = DBLCBPlanoKeyDown
    end
    object ChBPlanoSintetico: TCheckBox
      Left = 152
      Top = 194
      Width = 233
      Height = 17
      Caption = 'Apenas Classifica'#231#227'o Sint'#233'tica'
      TabOrder = 14
    end
    object dblAutorizante: TDBLookupComboBox
      Left = 3
      Top = 60
      Width = 158
      Height = 21
      DataField = 'AUTORIZANTE'
      KeyField = 'USU_CODIGO'
      ListField = 'USU_NOME'
      ListSource = dsUsuario
      TabOrder = 3
    end
    object rbModelo1: TRadioButton
      Left = 328
      Top = 194
      Width = 73
      Height = 17
      Caption = 'Modelo 1'
      Checked = True
      TabOrder = 15
      TabStop = True
    end
    object rbModelo2: TRadioButton
      Left = 328
      Top = 211
      Width = 73
      Height = 14
      Caption = 'Modelo 2'
      TabOrder = 16
    end
  end
  object RLReport1: TRLReport [2]
    Left = 8
    Top = 440
    Width = 794
    Height = 1123
    DataSource = dsResumoFinanceiro
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clBlack
    Font.Height = -13
    Font.Name = 'Arial'
    Font.Style = []
    object RLBand1: TRLBand
      Left = 38
      Top = 38
      Width = 718
      Height = 127
      BandType = btHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      BeforePrint = RLBand1BeforePrint
      object rlEmpresa: TRLLabel
        Left = 2
        Top = 2
        Width = 66
        Height = 14
        Caption = '                     '
      end
      object RLLabel1: TRLLabel
        Left = 2
        Top = 17
        Width = 189
        Height = 14
        Caption = 'GEST'#195'O EMPRESARIAL / FINANCEIRO'
      end
      object RLLabel2: TRLLabel
        Left = 253
        Top = 24
        Width = 212
        Height = 22
        Alignment = taCenter
        Caption = 'RESUMO FINANCEIRO'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -19
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLSystemInfo1: TRLSystemInfo
        Left = 632
        Top = 19
        Width = 82
        Height = 14
        Alignment = taRightJustify
        Text = 'Emiss'#227'o:  '
      end
      object RLSystemInfo2: TRLSystemInfo
        Left = 612
        Top = 3
        Width = 102
        Height = 14
        Alignment = taRightJustify
        Info = itPageNumber
        Text = 'Pag.:  '
      end
      object rlGConta: TRLLabel
        Left = 2
        Top = 47
        Width = 67
        Height = 14
        Caption = 'Grupo Conta:'
      end
      object rlGFinanceiro: TRLLabel
        Left = 114
        Top = 47
        Width = 102
        Height = 14
        Caption = 'Grupo C. Financeiro:'
      end
      object rlClassificacao: TRLLabel
        Left = 2
        Top = 79
        Width = 124
        Height = 14
        Caption = 'Classifica'#231#227'o Financeira:'
      end
      object rlPeriodo1: TRLLabel
        Left = 253
        Top = 63
        Width = 212
        Height = 14
        Alignment = taCenter
        AutoSize = False
        Caption = '1'#186' Per'#237'odo:'
      end
      object rlPeriodo2: TRLLabel
        Left = 253
        Top = 79
        Width = 212
        Height = 14
        Alignment = taCenter
        AutoSize = False
        Caption = '2'#186' Per'#237'odo:'
      end
      object rlIdentificacao: TRLLabel
        Left = 2
        Top = 63
        Width = 54
        Height = 14
        Caption = 'Inidica'#231#227'o:'
      end
      object rlCentroCusto: TRLLabel
        Left = 2
        Top = 95
        Width = 84
        Height = 14
        Caption = 'Centro de Custo:'
      end
      object rlAutorizante: TRLLabel
        Left = 2
        Top = 111
        Width = 63
        Height = 14
        Caption = 'Autorizanre:'
      end
      object RLDBText1: TRLDBText
        Left = 504
        Top = 128
        Width = 57
        Height = 14
      end
    end
    object RLBand2: TRLBand
      Left = 38
      Top = 165
      Width = 718
      Height = 17
      BandType = btColumnHeader
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = [fsBold]
      ParentFont = False
      object RLLabel3: TRLLabel
        Left = 2
        Top = 0
        Width = 75
        Height = 14
        Caption = 'Classifica'#231#227'o'
      end
      object RLLabel4: TRLLabel
        Left = 274
        Top = 0
        Width = 91
        Height = 14
        Caption = 'Valor 1'#186' Per'#237'odo'
      end
      object RLLabel5: TRLLabel
        Left = 410
        Top = 0
        Width = 91
        Height = 14
        Caption = 'Valor 2'#186' Per'#237'odo'
      end
      object rlVarTitulo2: TRLLabel
        Left = 664
        Top = 0
        Width = 50
        Height = 14
        Alignment = taRightJustify
        Caption = 'Varia'#231#227'o'
      end
      object rlVarTitulo: TRLLabel
        Left = 518
        Top = 0
        Width = 95
        Height = 14
        Alignment = taRightJustify
        Caption = 'M'#233'dia 2'#186' Per'#237'odo'
      end
    end
    object RLBand3: TRLBand
      Left = 38
      Top = 213
      Width = 718
      Height = 16
      BandType = btSummary
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = [fsBold]
      ParentFont = False
      BeforePrint = RLBand3BeforePrint
      object qrlDescricaoParamentro: TRLLabel
        Left = 113
        Top = 0
        Width = 137
        Height = 14
        Alignment = taRightJustify
      end
      object qrlValorParamentro: TRLLabel
        Left = 252
        Top = 0
        Width = 112
        Height = 14
        Alignment = taRightJustify
      end
    end
    object RLBand4: TRLBand
      Left = 38
      Top = 182
      Width = 718
      Height = 15
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      BeforePrint = RLBand4BeforePrint
      object RLLabel7: TRLLabel
        Left = 0
        Top = 0
        Width = 48
        Height = 14
        BeforePrint = RLLabel7BeforePrint
      end
      object RLDBText3: TRLDBText
        Left = 275
        Top = 0
        Width = 90
        Height = 14
        Alignment = taRightJustify
        DataField = 'VALOR1PERIODO'
        DataSource = dsResumoFinanceiro
      end
      object rlValorPeriodo2: TRLDBText
        Left = 411
        Top = 0
        Width = 90
        Height = 14
        Alignment = taRightJustify
        DataField = 'VALOR2PERIODO'
        DataSource = dsResumoFinanceiro
      end
      object rlMediaPeriodo2: TRLDBText
        Left = 534
        Top = 0
        Width = 79
        Height = 14
        Alignment = taRightJustify
        DataSource = dsResumoFinanceiro
      end
      object rlVariacao: TRLDBText
        Left = 656
        Top = 0
        Width = 59
        Height = 14
        Alignment = taRightJustify
        DataField = 'VARIACAO'
        DataSource = dsResumoFinanceiro
        BeforePrint = rlVariacaoBeforePrint
      end
    end
    object RLBand5: TRLBand
      Left = 38
      Top = 197
      Width = 718
      Height = 16
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      
        'Select PlanoContas.Estrutura as Estrutura ,PlanoContas.Descricao' +
        ' as Descricao,PlanoContas.CodPai as Pai, Sum(Lanc_Valor) as Valo' +
        'r'
      
        'from ContaCorrente Inner join ( lancamento  Left Join  planoCont' +
        'as on Lanc_Plano = PlanoContas.Codigo ) on Cont_corr_Codigo = la' +
        'nc_Conta'
      
        'Group by  PlanoContas.Estrutura,PlanoContas.Descricao,PlanoConta' +
        's.CodPai'
      '')
    Left = 304
    Top = 185
  end
  inherited DSPesquisa: TDataSource
    DataSet = nil
    Left = 344
    Top = 185
  end
  object QAux: TQuery
    DatabaseName = 'base'
    Left = 229
    Top = 186
  end
  object QResumoFinanceiro: TQuery
    DatabaseName = 'baseLocal'
    RequestLive = True
    SQL.Strings = (
      'Select * from ResumoFinanceiro')
    Left = 109
    Top = 186
  end
  object QAux2: TQuery
    DatabaseName = 'baseLocal'
    Left = 189
    Top = 186
  end
  object DSPlano: TDataSource
    DataSet = DMFinanceiro.QPlano
    Left = 256
    Top = 128
  end
  object DSCentro: TDataSource
    DataSet = DMFinanceiro.QCentro
    Left = 128
    Top = 152
  end
  object dsUsuario: TDataSource
    DataSet = DMGestao.QUsuario
    Left = 104
    Top = 304
  end
  object QParametro: TQuery
    Active = True
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT * FROM PARAMETRO')
    Left = 32
    Top = 192
  end
  object dsResumoFinanceiro: TDataSource
    DataSet = QResumoFinanceiro
    Left = 496
    Top = 192
  end
  object QRelatorio: TQuery
    CachedUpdates = True
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * from PlanoContas')
    Left = 560
    Top = 56
  end
  object Query1: TQuery
    DatabaseName = 'baseLocal'
    SQL.Strings = (
      'Select * from ResumoFinanceiro'
      'Order By Estrutura')
    Left = 552
    Top = 112
  end
  object Q2: TQuery
    DatabaseName = 'baseLocal'
    SQL.Strings = (
      'Select * from ResumoFinanceiro'
      'Order By Estrutura')
    Left = 552
    Top = 176
  end
  object RLXLSFilter1: TRLXLSFilter
    DisplayName = 'Planilha Excel'
    Left = 200
    Top = 344
  end
  object RLPDFFilter1: TRLPDFFilter
    DocumentInfo.Creator = 'FortesReport v3.23 \251 Copyright '#169' 1999-2004 Fortes Inform'#225'tica'
    ViewerOptions = []
    FontEncoding = feNoEncoding
    DisplayName = 'Documento PDF'
    Left = 272
    Top = 344
  end
  object RLHTMLFilter1: TRLHTMLFilter
    DocumentStyle = dsCSS2
    DisplayName = 'P'#225'gina da Web'
    Left = 128
    Top = 344
  end
end
